package testservice;

import com.web.pachong.PachongApplication;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author : wangyu
 * Date: 2018-01-29
 * Time: 16:17
 */
@RunWith(value = SpringJUnit4ClassRunner.class)
// 填写激活的配置类
@SpringBootTest(classes = {PachongApplication.class})
public class BaseTest {

    public void method() {
              synchronized (this) {
                        System.out.println("Method 1 start");
                   }
             }
}
